/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022.
 * Description: provide threshold for IMA measurement list
 * Author: xiongshenglan <xiongshenglan@huawei.com>
 * Create: 2022-09-20
 */
#ifndef RTOS_IMA_MEASURE_THRESHOLD_H
#define RTOS_IMA_MEASURE_THRESHOLD_H

#ifdef CONFIG_RTOS_CIV_DIGEST_LIST
#include "rtos_ima_digest_list.h"
#else
#include "ima.h"
#endif

extern bool ima_compare_measurement_threshold(void);
extern int ima_pcr_extend_within_threshold(struct tpm_digest *digests_arg, int pcr);
extern struct dentry *ima_measurement_threshold;
extern const struct file_operations ima_measurement_threshold_ops;

#endif
